package com.anan.exception;

/**
 * @author anan
 * @date 2023/03/15/16:56
 **/
public class SystemException extends RuntimeException{
    private String code;

    public String getCode() {
        return code;
    }

    public SystemException(String code, String message) {
        super(message);
        this.code = code;
    }

    public SystemException(String code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }
}
